home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / javax / swing / JTree$DropLocation.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  1.2 KB  |  33 lines

  1. package javax.swing;
  2.  
  3. import java.awt.Point;
  4. import javax.swing.tree.TreePath;
  5.  
  6. public final class JTree$DropLocation extends TransferHandler.DropLocation {
  7.    private final TreePath path;
  8.    private final int index;
  9.  
  10.    private JTree$DropLocation(Point var1, TreePath var2, int var3) {
  11.       super(var1);
  12.       this.path = var2;
  13.       this.index = var3;
  14.    }
  15.  
  16.    public int getChildIndex() {
  17.       return this.index;
  18.    }
  19.  
  20.    public TreePath getPath() {
  21.       return this.path;
  22.    }
  23.  
  24.    public String toString() {
  25.       return this.getClass().getName() + "[dropPoint=" + this.getDropPoint() + "," + "path=" + this.path + "," + "childIndex=" + this.index + "]";
  26.    }
  27.  
  28.    // $FF: synthetic method
  29.    JTree$DropLocation(Point var1, TreePath var2, int var3, JTree.1 var4) {
  30.       this(var1, var2, var3);
  31.    }
  32. }
  33.